<?php
require_once('dao/comentariosDAO.php');

class comentariosHandler{
    public static function insertComentario($notaid, $user, $email, $comentario, $ipAddress, $fechaCredo, $status){
        return comentariosDAO::insertComentario($notaid, $user, $email, $comentario, $ipAddress, $fechaCredo, $status);
    }

    public static  function getComentariosPorNotaId($notaid){
        return comentariosDAO::getNewComentariosPorNotaId($notaid);
    }
}